{% extends 'layout/main.html' %}
{% block content_header %}
    <h1>
        栏目详细信息: {{ model.name }}
    </h1>
    <ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="#">Examples</a></li>
    <li class="active">Blank page</li>
    </ol>
{% endblock %}

{% block content %}
<div class="box">
    <div class="box-body">
        <p>
        <a class="btn btn-primary" href="{{ url_for('backend_categorys.update', id=model.id) }}">更新</a>
        <a class="btn btn-danger" href="{{ url_for('backend_categorys.delete', id=model.id) }}" data-confirm="Are you sure you want to delete this item?" data-method="post">删除</a>    
        </p>
        <table class="table table-striped table-bordered detail-view">
            <tbody>
                <tr><th>栏目名称</th><td>{{ model.name }}</td></tr>
                <tr><th>排序</th><td>{{ model.sort }}</td></tr>
                <tr><th>创建时间</th><td>{{ model.created_at }}</td></tr>
            </tbody>
        </table>
    </div>
</div>
{% endblock %}
